import {Header,Home,News,Cart,Product,User,Register,Login,detail,Newsdetail} from '../Components'
export const routes=[
    {
        path:'/',
        component:Home,
        exact:true
    },
    {
        path:'/news',
        component:News,      
    },
    {
        path:'/user',
        component:User,      
    },
    {
        path:'/product',
        component:Product,      
    },
    {
        path:'/cart',
        component:Cart,      
    },
    {
       path:'/register',
       component: Register
   },
   {
      path:'/login',
      component:Login
  },
  {
    path:'/detail/:id/:page',
    component:detail,      
},
{
    path:'/Newsdetail/:id',
    component:Newsdetail,      
},
]